// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.

import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets('Counter increments smoke test', (WidgetTester tester) async {
      List menu = [1, 2, 3, 4, 5, 6, 7, 8];
      List<List> listAll = [];
      for (int i =0; i< menu.length; i+=4) {
        int end = i + 4;
        if (end > menu.length) end = menu.length;
        var l = menu.sublist(i, end);
        listAll.add(l);
      }
      print(listAll);
  });
}
